arraylist *arraylist_create(int capacity);
void arraylist_insert(arraylist *l, tree *obj);
int arraylist_search(arraylist *l, tree *needle);
tree *arraylist_get(arraylist *l, int index);
void arraylist_print(arraylist *l);
